<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./jquery.js"></script>
	<script src="./jquery.dialog.js"></script>
	<link rel="stylesheet" href="./theme/default/dialog.css">
	<script>
	$(function(){
		$('a').click(function(){
			$.dialog.get(window).close();
		});
	});
	</script>
</head>
<body>
	<input type="text" />
	<a href="javascript:;">关闭</a>
</body>
</html>